package com.alibaba.dubbo.demo.provider;

import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.dubbo.demo.DemoService;

@Service
public class DemoServiceImpl implements DemoService {

    private Logger log = LoggerFactory.getLogger(DemoServiceImpl.class);

    public String sayHello(String name) {
        log.info("provider");
        System.out.println("provider");
        return "Hello " + name;
    }
    
}